package com.javaxxf.pojo;

import java.sql.Date;

/**
 * @author xuxiaofei
 * @date 2021/8/13 上午10:31
 */
public class ZiLiao {
    private Integer zid; //资料的id
    private String zname; //资料的名字
    private String zurl; //资料的地址
    private String zpasswd; //密码
    private Date ztime; //资料的添加时间

    public ZiLiao() {
    }

    public ZiLiao(Integer zid, String zname, String zurl, String zpasswd, Date ztime) {
        this.zid = zid;
        this.zname = zname;
        this.zurl = zurl;
        this.zpasswd = zpasswd;
        this.ztime = ztime;
    }

    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public String getZname() {
        return zname;
    }

    public void setZname(String zname) {
        this.zname = zname;
    }

    public String getZurl() {
        return zurl;
    }

    public void setZurl(String zurl) {
        this.zurl = zurl;
    }

    public String getZpasswd() {
        return zpasswd;
    }

    public void setZpasswd(String zpasswd) {
        this.zpasswd = zpasswd;
    }

    public Date getZtime() {
        return ztime;
    }

    public void setZtime(Date ztime) {
        this.ztime = ztime;
    }

    @Override
    public String toString() {
        return "ZiLiao{" +
                "zid=" + zid +
                ", zname='" + zname + '\'' +
                ", zurl='" + zurl + '\'' +
                ", zpasswd='" + zpasswd + '\'' +
                ", ztime=" + ztime +
                '}';
    }
}

